package com.neuedu.yyzx.service;

import com.neuedu.yyzx.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author dya
 * @since 2021-05-12
 */
public interface IPermissionService extends IService<Permission> {

    Object list(Permission permission);

    boolean updateAll(Permission permission);



    List<Permission> userPermissionList(Integer userId);

    List<Permission> userPermissionListValidate(Integer userId);
}
